//
//  CustomIntroductionPanel.m
//  xinhua_jinyuan
//
//  Created by 党阳阳 on 14-6-24.
//  Copyright (c) 2014年 dangyangyang. All rights reserved.
//

#import "CustomIntroductionPanel.h"
#import <QuartzCore/QuartzCore.h>

@implementation CustomIntroductionPanel

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (id)initWithFrame:(CGRect)frame title:(NSString *)title description:(NSString *)description image:(UIImage *)image 
{
    self = [super initWithFrame:frame title:title description:description image:image header:nil];
    if (self) {
        
        [self.PanelSeparatorLine removeFromSuperview];
        CGRect imageViewFrame = frame;
        self.PanelImageView.frame = imageViewFrame;
        //self.PanelImageView.layer.cornerRadius = 120;
        self.PanelImageView.contentMode = UIViewContentModeScaleToFill;
        self.PanelImageView.layer.masksToBounds = YES;
       // CGRect titleLabelFrame = CGRectMake(70, 350, 180, 80);
       // self.PanelTitleLabel.textAlignment = NSTextAlignmentCenter;
       // self.PanelTitleLabel.frame = titleLabelFrame;
       // self.PanelTitleLabel.textColor = [UIColor blackColor];
        self.PanelTitleLabel.hidden = YES;
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
